import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import myRequest from './service';
import { globalRegisterElement } from './global';

import 'normalize.css';
import './assets/css/index.less';

interface DataType {
  data: any;
  returnCode: string;
  success: boolean;
}

createApp(App).use(globalRegisterElement).use(store).use(router).mount('#app');

// myRequest
//   ._request<DataType>({
//     url: '/home/multidata',
//     method: 'GET'
//   })
//   .then((res) => {
//     console.log(res, 'data**');
//   });
